/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.com.pbs.log;

import br.com.pbs.dao.GenericDao;
import org.apache.log4j.Logger;
import org.apache.log4j.PropertyConfigurator;

/**
 *
 * @author heldonjose
 */
public class Logs {
        private final Logger logger;

        public Logs() {
                logger = Logger.getLogger(GenericDao.class.getName());
                //Configurando o Log4j
                PropertyConfigurator.configure("conf/log4.properties");
        }
        public void info(String string) {
                logger.info(string);
        }

}
